package uk.ac.warwick.dcs.csufbo;

import javax.swing.*;
import javax.sound.midi.*;

import org.jdesktop.application.Application;
import org.jdesktop.application.SingleFrameApplication;

import com.micropraxis.gajit.Chrom;
import com.micropraxis.gajit.ChromItem;
import com.micropraxis.gajit.DupOp;
import com.micropraxis.gajit.Population;
import com.micropraxis.gajit.View;
import com.micropraxis.util.Iterator;
import com.micropraxis.util.ListIterator;
import com.micropraxis.util.SortedList;

public class Main extends SingleFrameApplication
{
	/**
	 * At startup create and show the main frame of the application.
	 */
	@Override
	protected void startup()
	{
		show(new MainGUI(this));
	}

	/**
	 * This method is to initialize the specified window by injecting resources.
	 * Windows shown in our application come fully initialized from the GUI
	 * builder, so this additional configuration is not needed.
	 */
	@Override
	protected void configureWindow(java.awt.Window root)
	{
	}

	/**
	 * A convenient static getter for the application instance.
	 * 
	 * @return the instance of MuscCompGUIApp
	 */
	public static Main getApplication()
	{
		return Application.getInstance(Main.class);
	}

	public static void main(String[] args)
	{
		launch(Main.class, args);
	}
}
